<p class="pageTitle">Region: <%= @region.name %></p>

<%= error_messages_for :region %>

<% tabnav :region do %>
  <%= render :partial => 'admin/medias/index', :object => @region %>
  
  <strong>Add new media:</strong>
  <div id='add_media'>
  	<%= form_tag({:action => "add"}, {:multipart=>true}) %>
    <%= render :partial => '/admin/medias/new_media', :locals => {:region => @region, :type => :region, :form => nil } %>
    </form>
  </div>
<% end %>
